﻿
namespace KBEngine
{
    public partial struct Vector3
    {
        public float x;
        public float y;
        public float z;

        public Vector3(float x, float y, float z)
        { 
            this.x = x; 
            this.y = y; 
            this.z = z; 
        }

        private static Vector3 _zeroVector = new Vector3(0, 0, 0);
        public static Vector3 zero { get { return _zeroVector; } }

        public override string ToString()
        {
            return string.Format("({0:F1}, {1:F1}, {2:F1})", x, y, z);
        }
    }
}
